package test.client;

import java.util.LinkedList;

import javax.swing.JScrollPane;

public class UIShared
{
	static String				message		= "";
	static LinkedList<String[]>	chartList	= new LinkedList<String[]>();

	static ChartUI				chartUI;

	static ShowText				showArea;
	static ChartText			text;
	static UserText				userArea;

	static JScrollPane			js;
	static JScrollPane			showJs;
	static JScrollPane			userJs;

	static void init() {

		userJs = new JScrollPane();
		userJs.setBounds(394, 1, 200, 455);
		userArea = new UserText();
		userJs.getViewport().add(userArea);

		showJs = new JScrollPane();
		showJs.setBounds(1, 1, 400 - 8, 320);
		showArea = new ShowText();
		showJs.getViewport().add(showArea);

		js = new JScrollPane();
		js.setBounds(1, 322, 400 - 8, 134);
		text = new ChartText();
		js.getViewport().add(text);

		chartUI = new ChartUI(600, 480);

	}
}
